import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {path: '/about', component: () => import( '../views/AboutView.vue')},
  {path: '/b', component: () => import( '../views/BView')},
  {path: '/c', component: () => import( '../views/CView')},
  {path: '/e', component: () => import( '../views/EView')},
  {path: '/h', component: () => import( '../views/HView')},
  {path: '/n', component: () => import( '../views/NView')},
  {path: '/p', component: () => import( '../views/PView')},
  {path: '/q', component: () => import( '../views/QView')},
  {path: '/r', component: () => import( '../views/RView')},
  {path: '/s', component: () => import( '../views/SView')},
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
